//
//  ThreadMessage.h
//  MyFamework
//
//  Created by carlos on 12-10-1.
//  Copyright (c) 2012年 carlos. All rights reserved.
//

#import "BaseObject.h"
#import "CoreLocation/CoreLocation.h"
@interface ThreadMessage : BaseObject

@property(nonatomic,assign)int intValue;
@property(nonatomic,assign)float floatValue;
@property(nonatomic,assign)double doubleValue;
@property(nonatomic,assign)BOOL booleanValue;
@property(nonatomic,strong)NSString * stringValue;
@property(nonatomic,strong)NSString * stringValue2;
@property(nonatomic,strong)NSString  *stringValue3;
@property(nonatomic,strong)NSObject * objectValue;
@property(nonatomic,strong)NSObject * objectValue2;
@property(nonatomic,strong)NSArray  *arrayValue;
@property(nonatomic,strong)NSDictionary *discValue;
@property(nonatomic,assign)CLLocationCoordinate2D coord;
@property(nonatomic,strong)NSString  *returnUINotiKey;//返回给前台UI的key
//返回的内容
@property(nonatomic,assign)BOOL receiveIsSuccess;//是否成功
@property(nonatomic,strong)NSString  *receiveJsonContent;//返回的json内容
@property(nonatomic,strong)NSString  *receiveMsg;//返回的msg里的内容
@property(nonatomic,assign)int  receiveErrorCode;//返回的错误代码
@property(nonatomic,strong)NSError * httpError;//http返回的错误

@property(nonatomic,copy)BaseOnClickObject receiveUIBlock;//UI端接收到的返回

//返回给前台的方法
@property(nonatomic,assign)SEL returnUIMethod;
//接口url
@property(nonatomic,assign)InterfaceDefine  interfaceDefine;

//初始化方法
+(ThreadMessage *)createThreadWithReturnMethod:(SEL)returnUIMethod1 withInterfaceDefine:(InterfaceDefine)interfaceDefine1;

//初始化方法
+(ThreadMessage *)createThreadWithInterfaceDefine:(InterfaceDefine)interfaceDefine1;
@end
